Clean up SIGCHLD handling a bit.
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Jun 2013 19:01:47 +0000 (12:01 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 22 Jun 2013 19:01:47 +0000 (12:01 -0700)
commit9e3b1f4939f885f0b4fc551d9e210c5549d274f0
tree337edef2d70a9738645183484f1f888bd3b41f13
parent8ac95ed56f4e7267344138a2af621271c469ada4
Clean up SIGCHLD handling a bit.

* process.c, process.h (catch_child_signal):
Now always extern, even if !NS_IMPL_GNUSTEP.
* process.c (catch_child_signal): Move glib tickler here from
init_process_emacs, so that it's done earlier in Emacs
initialization.  Also move the noninteractive && !initialized
check here from init_process_emacs.  This is all a bit cleaner for
GNUish platforms, and I hope it works around the Cygwin bug.
* sysdep.c (init_signals): Invoke catch_child_signal here, so
that glib signal handling is tickled before glib creates threads.
src/ChangeLog
src/process.c
src/process.h
src/sysdep.c